#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
//	system("start https://www.lanqiao.cn/problems/4433/learning/");

	int t, n;
	cin >> t;

	int x;
	while (t--) {
		cin >> n;
		int cnt_odd = 0;
		while (n--) {
			cin >> x;
			if (x % 2)	cnt_odd++;
		}
		if (cnt_odd % 2)
			cout << "NO\n";
		else
			cout << "YES\n";
	}

	return 0;
}
